func net/http.http2asciiEqualFold
19 uses
net/http (current package)
h2_bundle.go#L66: func http2asciiEqualFold(s, t string) bool {
h2_bundle.go#L7221: if http2asciiEqualFold(k, "content-length") ||
h2_bundle.go#L7222: http2asciiEqualFold(k, "content-encoding") ||
h2_bundle.go#L7223: http2asciiEqualFold(k, "trailer") ||
h2_bundle.go#L7224: http2asciiEqualFold(k, "te") ||
h2_bundle.go#L7225: http2asciiEqualFold(k, "expect") ||
h2_bundle.go#L7226: http2asciiEqualFold(k, "host") {
h2_bundle.go#L8735: if vv := req.Header["Connection"]; len(vv) > 0 && (len(vv) > 1 || vv[0] != "" && !http2asciiEqualFold(vv[0], "close") && !http2asciiEqualFold(vv[0], "keep-alive")) {
h2_bundle.go#L9590: if http2asciiEqualFold(k, "host") || http2asciiEqualFold(k, "content-length") {
h2_bundle.go#L9594: } else if http2asciiEqualFold(k, "connection") ||
h2_bundle.go#L9595: http2asciiEqualFold(k, "proxy-connection") ||
h2_bundle.go#L9596: http2asciiEqualFold(k, "transfer-encoding") ||
h2_bundle.go#L9597: http2asciiEqualFold(k, "upgrade") ||
h2_bundle.go#L9598: http2asciiEqualFold(k, "keep-alive") {
h2_bundle.go#L9604: } else if http2asciiEqualFold(k, "user-agent") {
h2_bundle.go#L9617: } else if http2asciiEqualFold(k, "cookie") {
h2_bundle.go#L10187: if cs.requestedGzip && http2asciiEqualFold(res.Header.Get("Content-Encoding"), "gzip") {